From: Jim Blandy Date: Sat, 10 Apr 1993 06:21:16 +0000 (+0000) Subject: Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96557 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=51534471f681519445555261526c6963cbf45140;p=emacs.git Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu) * paragraphs.el (sentence-end, forward-sentence): Doc fixes. --- diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index baebf2d23ff..ae2af674074 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -37,7 +37,11 @@ If you change this, you may have to change paragraph-start also.") (defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") "\ *Regexp describing the end of a sentence. -All paragraph boundaries also end sentences, regardless.") +All paragraph boundaries also end sentences, regardless. + +In order to be recognized as the end of a sentence, the ending period, +question mark, or exclamation point must be followed by two spaces, +unless it's inside some sort of quotes or parenthesis.") (defconst page-delimiter "^\014" "\ *Regexp describing line-beginnings that separate pages.") @@ -178,7 +182,7 @@ negative arg -N means kill forward to Nth end of paragraph." (end-of-paragraph-text)))))) (defun forward-sentence (&optional arg) - "Move forward to next`sentence-end'. With argument, repeat. + "Move forward to next `sentence-end'. With argument, repeat. With negative argument, move backward repeatedly to `sentence-beginning'. The variable `sentence-end' is a regular expression that matches ends of